/*
*Copyright © 2019 XSNOW
*四川瑞韬科技有限公司
*http://www.ratotech.com.cn
*All rights reserved.
*/

package com.icesoft.xsnow.upms.api.po;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import com.icesoft.xsnow.framework.api.po.BaseEntity;
/**
 * @program: xsnow
 * @description: 电商-商品分类信息 实体类
 * @author xuefeng.gao
 * @create: 2019-05-28
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "电商-商品分类信息")
@TableName("ec_category")
public class EcCategory extends BaseEntity{
private static final long serialVersionUID = 1L;

  @ApiModelProperty(notes = "分类名称")
  private String name;
  @ApiModelProperty(notes = "分类编码")
  private String code;
  @ApiModelProperty(notes = "父分类ID")
  private Integer parentId;
  @ApiModelProperty(notes = "层级树")
  private String cTree;
  @ApiModelProperty(notes = "分类层级")
  private Integer level;
  @ApiModelProperty(notes = "分类状态:1-正常,0-冻结")
  private Integer status;
  @ApiModelProperty(notes = "Client Id")
  private String tenantId;
}
